opencard.opt.security
Class SecretKeyFile

java.lang.Object
  extended byopencard.opt.security.KeyFile
      extended byopencard.opt.security.SecretKeyFile
All Implemented Interfaces:
java.security.Key, KeyRef, SecretKeyRef, java.io.Serializable

public class SecretKeyFile
extends KeyFile
implements SecretKeyRef

Reference to a secret key stored on a smart card in an ISO file. Identifies the key file by specifying the directory the key is contained in as well as a key number.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface java.security.Key
serialVersionUID
 
Constructor Summary
SecretKeyFile(CardFilePath directory, int keyNr)
          Constructor from directory path and key number.
 
Methods inherited from class opencard.opt.security.KeyFile
getAlgorithm, getDirectory, getEncoded, getFormat, getKeyNumber
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat
 

Constructor Detail

SecretKeyFile

public SecretKeyFile(CardFilePath directory,
                     int keyNr)
Constructor from directory path and key number.

Parameters:
keyNr - int